package com.yidu.boss.sys.domain;

import java.util.ArrayList;
import java.util.List;

public class ResourceExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public ResourceExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andResourceIdIsNull() {
            addCriterion("resourceId is null");
            return (Criteria) this;
        }

        public Criteria andResourceIdIsNotNull() {
            addCriterion("resourceId is not null");
            return (Criteria) this;
        }

        public Criteria andResourceIdEqualTo(String value) {
            addCriterion("resourceId =", value, "resourceId");
            return (Criteria) this;
        }

        public Criteria andResourceIdNotEqualTo(String value) {
            addCriterion("resourceId <>", value, "resourceId");
            return (Criteria) this;
        }

        public Criteria andResourceIdGreaterThan(String value) {
            addCriterion("resourceId >", value, "resourceId");
            return (Criteria) this;
        }

        public Criteria andResourceIdGreaterThanOrEqualTo(String value) {
            addCriterion("resourceId >=", value, "resourceId");
            return (Criteria) this;
        }

        public Criteria andResourceIdLessThan(String value) {
            addCriterion("resourceId <", value, "resourceId");
            return (Criteria) this;
        }

        public Criteria andResourceIdLessThanOrEqualTo(String value) {
            addCriterion("resourceId <=", value, "resourceId");
            return (Criteria) this;
        }

        public Criteria andResourceIdLike(String value) {
            addCriterion("resourceId like", value, "resourceId");
            return (Criteria) this;
        }

        public Criteria andResourceIdNotLike(String value) {
            addCriterion("resourceId not like", value, "resourceId");
            return (Criteria) this;
        }

        public Criteria andResourceIdIn(List<String> values) {
            addCriterion("resourceId in", values, "resourceId");
            return (Criteria) this;
        }

        public Criteria andResourceIdNotIn(List<String> values) {
            addCriterion("resourceId not in", values, "resourceId");
            return (Criteria) this;
        }

        public Criteria andResourceIdBetween(String value1, String value2) {
            addCriterion("resourceId between", value1, value2, "resourceId");
            return (Criteria) this;
        }

        public Criteria andResourceIdNotBetween(String value1, String value2) {
            addCriterion("resourceId not between", value1, value2, "resourceId");
            return (Criteria) this;
        }

        public Criteria andResourceNameIsNull() {
            addCriterion("resourceName is null");
            return (Criteria) this;
        }

        public Criteria andResourceNameIsNotNull() {
            addCriterion("resourceName is not null");
            return (Criteria) this;
        }

        public Criteria andResourceNameEqualTo(String value) {
            addCriterion("resourceName =", value, "resourceName");
            return (Criteria) this;
        }

        public Criteria andResourceNameNotEqualTo(String value) {
            addCriterion("resourceName <>", value, "resourceName");
            return (Criteria) this;
        }

        public Criteria andResourceNameGreaterThan(String value) {
            addCriterion("resourceName >", value, "resourceName");
            return (Criteria) this;
        }

        public Criteria andResourceNameGreaterThanOrEqualTo(String value) {
            addCriterion("resourceName >=", value, "resourceName");
            return (Criteria) this;
        }

        public Criteria andResourceNameLessThan(String value) {
            addCriterion("resourceName <", value, "resourceName");
            return (Criteria) this;
        }

        public Criteria andResourceNameLessThanOrEqualTo(String value) {
            addCriterion("resourceName <=", value, "resourceName");
            return (Criteria) this;
        }

        public Criteria andResourceNameLike(String value) {
            addCriterion("resourceName like", value, "resourceName");
            return (Criteria) this;
        }

        public Criteria andResourceNameNotLike(String value) {
            addCriterion("resourceName not like", value, "resourceName");
            return (Criteria) this;
        }

        public Criteria andResourceNameIn(List<String> values) {
            addCriterion("resourceName in", values, "resourceName");
            return (Criteria) this;
        }

        public Criteria andResourceNameNotIn(List<String> values) {
            addCriterion("resourceName not in", values, "resourceName");
            return (Criteria) this;
        }

        public Criteria andResourceNameBetween(String value1, String value2) {
            addCriterion("resourceName between", value1, value2, "resourceName");
            return (Criteria) this;
        }

        public Criteria andResourceNameNotBetween(String value1, String value2) {
            addCriterion("resourceName not between", value1, value2, "resourceName");
            return (Criteria) this;
        }

        public Criteria andParentIdIsNull() {
            addCriterion("parentId is null");
            return (Criteria) this;
        }

        public Criteria andParentIdIsNotNull() {
            addCriterion("parentId is not null");
            return (Criteria) this;
        }

        public Criteria andParentIdEqualTo(String value) {
            addCriterion("parentId =", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotEqualTo(String value) {
            addCriterion("parentId <>", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdGreaterThan(String value) {
            addCriterion("parentId >", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdGreaterThanOrEqualTo(String value) {
            addCriterion("parentId >=", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdLessThan(String value) {
            addCriterion("parentId <", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdLessThanOrEqualTo(String value) {
            addCriterion("parentId <=", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdLike(String value) {
            addCriterion("parentId like", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotLike(String value) {
            addCriterion("parentId not like", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdIn(List<String> values) {
            addCriterion("parentId in", values, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotIn(List<String> values) {
            addCriterion("parentId not in", values, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdBetween(String value1, String value2) {
            addCriterion("parentId between", value1, value2, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotBetween(String value1, String value2) {
            addCriterion("parentId not between", value1, value2, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentNameIsNull() {
            addCriterion("parentName is null");
            return (Criteria) this;
        }

        public Criteria andParentNameIsNotNull() {
            addCriterion("parentName is not null");
            return (Criteria) this;
        }

        public Criteria andParentNameEqualTo(String value) {
            addCriterion("parentName =", value, "parentName");
            return (Criteria) this;
        }

        public Criteria andParentNameNotEqualTo(String value) {
            addCriterion("parentName <>", value, "parentName");
            return (Criteria) this;
        }

        public Criteria andParentNameGreaterThan(String value) {
            addCriterion("parentName >", value, "parentName");
            return (Criteria) this;
        }

        public Criteria andParentNameGreaterThanOrEqualTo(String value) {
            addCriterion("parentName >=", value, "parentName");
            return (Criteria) this;
        }

        public Criteria andParentNameLessThan(String value) {
            addCriterion("parentName <", value, "parentName");
            return (Criteria) this;
        }

        public Criteria andParentNameLessThanOrEqualTo(String value) {
            addCriterion("parentName <=", value, "parentName");
            return (Criteria) this;
        }

        public Criteria andParentNameLike(String value) {
            addCriterion("parentName like", value, "parentName");
            return (Criteria) this;
        }

        public Criteria andParentNameNotLike(String value) {
            addCriterion("parentName not like", value, "parentName");
            return (Criteria) this;
        }

        public Criteria andParentNameIn(List<String> values) {
            addCriterion("parentName in", values, "parentName");
            return (Criteria) this;
        }

        public Criteria andParentNameNotIn(List<String> values) {
            addCriterion("parentName not in", values, "parentName");
            return (Criteria) this;
        }

        public Criteria andParentNameBetween(String value1, String value2) {
            addCriterion("parentName between", value1, value2, "parentName");
            return (Criteria) this;
        }

        public Criteria andParentNameNotBetween(String value1, String value2) {
            addCriterion("parentName not between", value1, value2, "parentName");
            return (Criteria) this;
        }

        public Criteria andUrlIsNull() {
            addCriterion("url is null");
            return (Criteria) this;
        }

        public Criteria andUrlIsNotNull() {
            addCriterion("url is not null");
            return (Criteria) this;
        }

        public Criteria andUrlEqualTo(String value) {
            addCriterion("url =", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotEqualTo(String value) {
            addCriterion("url <>", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlGreaterThan(String value) {
            addCriterion("url >", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlGreaterThanOrEqualTo(String value) {
            addCriterion("url >=", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLessThan(String value) {
            addCriterion("url <", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLessThanOrEqualTo(String value) {
            addCriterion("url <=", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLike(String value) {
            addCriterion("url like", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotLike(String value) {
            addCriterion("url not like", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlIn(List<String> values) {
            addCriterion("url in", values, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotIn(List<String> values) {
            addCriterion("url not in", values, "url");
            return (Criteria) this;
        }

        public Criteria andUrlBetween(String value1, String value2) {
            addCriterion("url between", value1, value2, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotBetween(String value1, String value2) {
            addCriterion("url not between", value1, value2, "url");
            return (Criteria) this;
        }

        public Criteria andResourceTypeIsNull() {
            addCriterion("resourceType is null");
            return (Criteria) this;
        }

        public Criteria andResourceTypeIsNotNull() {
            addCriterion("resourceType is not null");
            return (Criteria) this;
        }

        public Criteria andResourceTypeEqualTo(String value) {
            addCriterion("resourceType =", value, "resourceType");
            return (Criteria) this;
        }

        public Criteria andResourceTypeNotEqualTo(String value) {
            addCriterion("resourceType <>", value, "resourceType");
            return (Criteria) this;
        }

        public Criteria andResourceTypeGreaterThan(String value) {
            addCriterion("resourceType >", value, "resourceType");
            return (Criteria) this;
        }

        public Criteria andResourceTypeGreaterThanOrEqualTo(String value) {
            addCriterion("resourceType >=", value, "resourceType");
            return (Criteria) this;
        }

        public Criteria andResourceTypeLessThan(String value) {
            addCriterion("resourceType <", value, "resourceType");
            return (Criteria) this;
        }

        public Criteria andResourceTypeLessThanOrEqualTo(String value) {
            addCriterion("resourceType <=", value, "resourceType");
            return (Criteria) this;
        }

        public Criteria andResourceTypeLike(String value) {
            addCriterion("resourceType like", value, "resourceType");
            return (Criteria) this;
        }

        public Criteria andResourceTypeNotLike(String value) {
            addCriterion("resourceType not like", value, "resourceType");
            return (Criteria) this;
        }

        public Criteria andResourceTypeIn(List<String> values) {
            addCriterion("resourceType in", values, "resourceType");
            return (Criteria) this;
        }

        public Criteria andResourceTypeNotIn(List<String> values) {
            addCriterion("resourceType not in", values, "resourceType");
            return (Criteria) this;
        }

        public Criteria andResourceTypeBetween(String value1, String value2) {
            addCriterion("resourceType between", value1, value2, "resourceType");
            return (Criteria) this;
        }

        public Criteria andResourceTypeNotBetween(String value1, String value2) {
            addCriterion("resourceType not between", value1, value2, "resourceType");
            return (Criteria) this;
        }

        public Criteria andResourceRankIsNull() {
            addCriterion("resourceRank is null");
            return (Criteria) this;
        }

        public Criteria andResourceRankIsNotNull() {
            addCriterion("resourceRank is not null");
            return (Criteria) this;
        }

        public Criteria andResourceRankEqualTo(String value) {
            addCriterion("resourceRank =", value, "resourceRank");
            return (Criteria) this;
        }

        public Criteria andResourceRankNotEqualTo(String value) {
            addCriterion("resourceRank <>", value, "resourceRank");
            return (Criteria) this;
        }

        public Criteria andResourceRankGreaterThan(String value) {
            addCriterion("resourceRank >", value, "resourceRank");
            return (Criteria) this;
        }

        public Criteria andResourceRankGreaterThanOrEqualTo(String value) {
            addCriterion("resourceRank >=", value, "resourceRank");
            return (Criteria) this;
        }

        public Criteria andResourceRankLessThan(String value) {
            addCriterion("resourceRank <", value, "resourceRank");
            return (Criteria) this;
        }

        public Criteria andResourceRankLessThanOrEqualTo(String value) {
            addCriterion("resourceRank <=", value, "resourceRank");
            return (Criteria) this;
        }

        public Criteria andResourceRankLike(String value) {
            addCriterion("resourceRank like", value, "resourceRank");
            return (Criteria) this;
        }

        public Criteria andResourceRankNotLike(String value) {
            addCriterion("resourceRank not like", value, "resourceRank");
            return (Criteria) this;
        }

        public Criteria andResourceRankIn(List<String> values) {
            addCriterion("resourceRank in", values, "resourceRank");
            return (Criteria) this;
        }

        public Criteria andResourceRankNotIn(List<String> values) {
            addCriterion("resourceRank not in", values, "resourceRank");
            return (Criteria) this;
        }

        public Criteria andResourceRankBetween(String value1, String value2) {
            addCriterion("resourceRank between", value1, value2, "resourceRank");
            return (Criteria) this;
        }

        public Criteria andResourceRankNotBetween(String value1, String value2) {
            addCriterion("resourceRank not between", value1, value2, "resourceRank");
            return (Criteria) this;
        }

        public Criteria andResourceIndexIsNull() {
            addCriterion("resourceIndex is null");
            return (Criteria) this;
        }

        public Criteria andResourceIndexIsNotNull() {
            addCriterion("resourceIndex is not null");
            return (Criteria) this;
        }

        public Criteria andResourceIndexEqualTo(Integer value) {
            addCriterion("resourceIndex =", value, "resourceIndex");
            return (Criteria) this;
        }

        public Criteria andResourceIndexNotEqualTo(Integer value) {
            addCriterion("resourceIndex <>", value, "resourceIndex");
            return (Criteria) this;
        }

        public Criteria andResourceIndexGreaterThan(Integer value) {
            addCriterion("resourceIndex >", value, "resourceIndex");
            return (Criteria) this;
        }

        public Criteria andResourceIndexGreaterThanOrEqualTo(Integer value) {
            addCriterion("resourceIndex >=", value, "resourceIndex");
            return (Criteria) this;
        }

        public Criteria andResourceIndexLessThan(Integer value) {
            addCriterion("resourceIndex <", value, "resourceIndex");
            return (Criteria) this;
        }

        public Criteria andResourceIndexLessThanOrEqualTo(Integer value) {
            addCriterion("resourceIndex <=", value, "resourceIndex");
            return (Criteria) this;
        }

        public Criteria andResourceIndexIn(List<Integer> values) {
            addCriterion("resourceIndex in", values, "resourceIndex");
            return (Criteria) this;
        }

        public Criteria andResourceIndexNotIn(List<Integer> values) {
            addCriterion("resourceIndex not in", values, "resourceIndex");
            return (Criteria) this;
        }

        public Criteria andResourceIndexBetween(Integer value1, Integer value2) {
            addCriterion("resourceIndex between", value1, value2, "resourceIndex");
            return (Criteria) this;
        }

        public Criteria andResourceIndexNotBetween(Integer value1, Integer value2) {
            addCriterion("resourceIndex not between", value1, value2, "resourceIndex");
            return (Criteria) this;
        }

        public Criteria andUseableIsNull() {
            addCriterion("useable is null");
            return (Criteria) this;
        }

        public Criteria andUseableIsNotNull() {
            addCriterion("useable is not null");
            return (Criteria) this;
        }

        public Criteria andUseableEqualTo(Integer value) {
            addCriterion("useable =", value, "useable");
            return (Criteria) this;
        }

        public Criteria andUseableNotEqualTo(Integer value) {
            addCriterion("useable <>", value, "useable");
            return (Criteria) this;
        }

        public Criteria andUseableGreaterThan(Integer value) {
            addCriterion("useable >", value, "useable");
            return (Criteria) this;
        }

        public Criteria andUseableGreaterThanOrEqualTo(Integer value) {
            addCriterion("useable >=", value, "useable");
            return (Criteria) this;
        }

        public Criteria andUseableLessThan(Integer value) {
            addCriterion("useable <", value, "useable");
            return (Criteria) this;
        }

        public Criteria andUseableLessThanOrEqualTo(Integer value) {
            addCriterion("useable <=", value, "useable");
            return (Criteria) this;
        }

        public Criteria andUseableIn(List<Integer> values) {
            addCriterion("useable in", values, "useable");
            return (Criteria) this;
        }

        public Criteria andUseableNotIn(List<Integer> values) {
            addCriterion("useable not in", values, "useable");
            return (Criteria) this;
        }

        public Criteria andUseableBetween(Integer value1, Integer value2) {
            addCriterion("useable between", value1, value2, "useable");
            return (Criteria) this;
        }

        public Criteria andUseableNotBetween(Integer value1, Integer value2) {
            addCriterion("useable not between", value1, value2, "useable");
            return (Criteria) this;
        }

        public Criteria andDecsIsNull() {
            addCriterion("decs is null");
            return (Criteria) this;
        }

        public Criteria andDecsIsNotNull() {
            addCriterion("decs is not null");
            return (Criteria) this;
        }

        public Criteria andDecsEqualTo(String value) {
            addCriterion("decs =", value, "decs");
            return (Criteria) this;
        }

        public Criteria andDecsNotEqualTo(String value) {
            addCriterion("decs <>", value, "decs");
            return (Criteria) this;
        }

        public Criteria andDecsGreaterThan(String value) {
            addCriterion("decs >", value, "decs");
            return (Criteria) this;
        }

        public Criteria andDecsGreaterThanOrEqualTo(String value) {
            addCriterion("decs >=", value, "decs");
            return (Criteria) this;
        }

        public Criteria andDecsLessThan(String value) {
            addCriterion("decs <", value, "decs");
            return (Criteria) this;
        }

        public Criteria andDecsLessThanOrEqualTo(String value) {
            addCriterion("decs <=", value, "decs");
            return (Criteria) this;
        }

        public Criteria andDecsLike(String value) {
            addCriterion("decs like", value, "decs");
            return (Criteria) this;
        }

        public Criteria andDecsNotLike(String value) {
            addCriterion("decs not like", value, "decs");
            return (Criteria) this;
        }

        public Criteria andDecsIn(List<String> values) {
            addCriterion("decs in", values, "decs");
            return (Criteria) this;
        }

        public Criteria andDecsNotIn(List<String> values) {
            addCriterion("decs not in", values, "decs");
            return (Criteria) this;
        }

        public Criteria andDecsBetween(String value1, String value2) {
            addCriterion("decs between", value1, value2, "decs");
            return (Criteria) this;
        }

        public Criteria andDecsNotBetween(String value1, String value2) {
            addCriterion("decs not between", value1, value2, "decs");
            return (Criteria) this;
        }

        public Criteria andRoleIsNull() {
            addCriterion("role is null");
            return (Criteria) this;
        }

        public Criteria andRoleIsNotNull() {
            addCriterion("role is not null");
            return (Criteria) this;
        }

        public Criteria andRoleEqualTo(String value) {
            addCriterion("role =", value, "role");
            return (Criteria) this;
        }

        public Criteria andRoleNotEqualTo(String value) {
            addCriterion("role <>", value, "role");
            return (Criteria) this;
        }

        public Criteria andRoleGreaterThan(String value) {
            addCriterion("role >", value, "role");
            return (Criteria) this;
        }

        public Criteria andRoleGreaterThanOrEqualTo(String value) {
            addCriterion("role >=", value, "role");
            return (Criteria) this;
        }

        public Criteria andRoleLessThan(String value) {
            addCriterion("role <", value, "role");
            return (Criteria) this;
        }

        public Criteria andRoleLessThanOrEqualTo(String value) {
            addCriterion("role <=", value, "role");
            return (Criteria) this;
        }

        public Criteria andRoleLike(String value) {
            addCriterion("role like", value, "role");
            return (Criteria) this;
        }

        public Criteria andRoleNotLike(String value) {
            addCriterion("role not like", value, "role");
            return (Criteria) this;
        }

        public Criteria andRoleIn(List<String> values) {
            addCriterion("role in", values, "role");
            return (Criteria) this;
        }

        public Criteria andRoleNotIn(List<String> values) {
            addCriterion("role not in", values, "role");
            return (Criteria) this;
        }

        public Criteria andRoleBetween(String value1, String value2) {
            addCriterion("role between", value1, value2, "role");
            return (Criteria) this;
        }

        public Criteria andRoleNotBetween(String value1, String value2) {
            addCriterion("role not between", value1, value2, "role");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}